<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="theme-color" content="#000000" />
    <meta
      name="description"
      content="Web site created using create-react-app"
    />
    <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
    <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
    <title>React App</title>
    <style>
      *{
        margin: 0;
        padding: 0;
      }
      #root{
        margin: 0 auto;
        height: 100vh;
        /* max-width: 750px; */
      }
    </style>
  </head>
  <body>
    <noscript>You need to enable JavaScript to run this app.</noscript>
    <div id="root"></div>
  </body>
  <script>
    // const baseSize = 100
		// const design=750
		// // 设置 rem 函数 
		// function setRem() {
		// 	var scale=window.innerWidth/design
    //   if(scale>1){
    //     return 
    //   }else{
    //   return  document.documentElement.style.fontSize=scale*baseSize+'px'
    //   }
		// }
		// // // 改变窗口大小时重新设置 rem 
		// setRem()
		// window.onresize = function() {                
		// 	setRem()
		// }
  </script>
</html>
